cd C:\work\idea_workspace\gameserver\generate\data\Generate\output_proto

C:\work\idea_workspace\gameserver\generate\data\Tool\protobuf\protoc3.3\bin\protoc GameData.proto --java_out=./output_java_runserver --csharp_out=./output_csharp
C:\work\idea_workspace\gameserver\generate\data\Tool\protobuf\protoc3.3\bin\protoc GameDataToUserserver.proto --java_out=./output_java_userserver

del/s/q C:\work\idea_workspace\gameserver\runserver\src\main\java\com\lgywin\runserver\protobuf\*.*
del/s/q C:\work\idea_workspace\gameserver\userserver\src\main\java\com\lgywin\userserver\protobuf\*.*
del/s/q C:\work\unity_workspace\VS2019MMORPG\Assets\Script\Data\protobuf\*.*
del/s/q C:\work\unity_workspace\VS2019MMORPG\Assets\Script\Data\NetCode.cs
del/s/q C:\work\unity_workspace\VS2019MMORPG\Assets\Script\Data\RetCode.cs

xcopy C:\work\idea_workspace\gameserver\generate\data\Generate\output_proto\output_java_runserver\* C:\work\idea_workspace\gameserver\runserver\src\main\java /s/e/y
xcopy C:\work\idea_workspace\gameserver\generate\data\Generate\output_proto\output_java_userserver\* C:\work\idea_workspace\gameserver\userserver\src\main\java /s/e/y
xcopy C:\work\idea_workspace\gameserver\generate\data\Generate\output_proto\output_csharp\GameData.cs C:\work\unity_workspace\VS2019MMORPG\Assets\Script\Data\protobuf /s/e/y
xcopy C:\work\idea_workspace\gameserver\generate\data\Generate\output_proto\output_csharp\NetCode.cs C:\work\unity_workspace\VS2019MMORPG\Assets\Script\Data\ /s/e/y
xcopy C:\work\idea_workspace\gameserver\generate\data\Generate\output_proto\output_csharp\RetCode.cs C:\work\unity_workspace\VS2019MMORPG\Assets\Script\Data\ /s/e/y

del/s/q C:\work\idea_workspace\gameserver\runserver\src\main\java\com\lgywin\runserver\entity\generate\*.*
xcopy C:\work\idea_workspace\gameserver\generate\data\Generate\output_local\output_local_runserver\output_entity\* C:\work\idea_workspace\gameserver\runserver\src\main\java\com\lgywin\runserver\entity\generate /s/e/y

del/s/q C:\work\idea_workspace\gameserver\runserver\src\main\java\com\lgywin\runserver\dao\generate\*.*
xcopy C:\work\idea_workspace\gameserver\generate\data\Generate\output_local\output_local_runserver\output_dao\* C:\work\idea_workspace\gameserver\runserver\src\main\java\com\lgywin\runserver\dao\generate /s/e/y

del/s/q C:\work\idea_workspace\gameserver\runserver\src\main\resources\mybatis\generate\*.*
xcopy C:\work\idea_workspace\gameserver\generate\data\Generate\output_local\output_local_runserver\output_mapper\* C:\work\idea_workspace\gameserver\runserver\src\main\resources\mybatis\generate /s/e/y


del/s/q C:\work\idea_workspace\gameserver\userserver\src\main\java\com\lgywin\userserver\entity\generate\*.*
xcopy C:\work\idea_workspace\gameserver\generate\data\Generate\output_local\output_local_userserver\output_entity\* C:\work\idea_workspace\gameserver\userserver\src\main\java\com\lgywin\userserver\entity\generate /s/e/y

del/s/q C:\work\idea_workspace\gameserver\userserver\src\main\java\com\lgywin\userserver\dao\generate\*.*
xcopy C:\work\idea_workspace\gameserver\generate\data\Generate\output_local\output_local_userserver\output_dao\* C:\work\idea_workspace\gameserver\userserver\src\main\java\com\lgywin\userserver\dao\generate /s/e/y

del/s/q C:\work\idea_workspace\gameserver\userserver\src\main\resources\mybatis\generate\*.*
xcopy C:\work\idea_workspace\gameserver\generate\data\Generate\output_local\output_local_userserver\output_mapper\* C:\work\idea_workspace\gameserver\userserver\src\main\resources\mybatis\generate /s/e/y

exit